package com.minova.demo.service.impl;

import com.minova.demo.entity.TzUserAddr;
import com.minova.demo.mapper.TzUserAddrMapper;
import com.minova.demo.service.ITzUserAddrService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户配送地址 服务实现类
 * </p>
 *
 * @author linrongji
 * @since 2019-12-23
 */
@Service
public class TzUserAddrServiceImpl extends ServiceImpl<TzUserAddrMapper, TzUserAddr> implements ITzUserAddrService {

	@Autowired
	private TzUserAddrMapper userAddrMapper;
	
	@Override
	public TzUserAddr selectByUserId(String userId) {
		// TODO Auto-generated method stub
		return userAddrMapper.selectByUserId(userId);
	}

}
